package com.qire.manhua.model.vo;

import com.qire.common.support.base.BaseVO;

public class HomeRecommendVipVO extends BaseVO {

    public HomeRecommendSlideVO[]    slide;
    public ModuleVO[]   modules;
    public VipInfo      vipInfo;

    public class VipInfo {
        public int    vipType;                      //: 2,
        public String expiration_time;              //: "2019-08-01 14:00:00"
    }

    public class ModuleVO {
        public ModuleInfoVO module;
        public ModuleItemVO[] list;
    }

    public class ModuleInfoVO {
        public int id;                              //: 999,
        public String name;                         //: "VIP人气榜",
        public int direction;                       //: 4
    }

    public class ModuleItemVO {
        public int    book_id;                      //: 10325,
        public String book_name;                    //: "出轨人妻的秘密",
        public String title;                        //: "我的妻子似乎瞒着我什么，直到那天...",
        public String short_title;                  //: "一觉醒来，发现自己来到靠拳头说话的世界",
        public String cover_img;                    //: "https://p.qiremanhua.com/uploads/book/201804/5acdd62ad58e4.jpg",
        public int    end_state;                    //: 1,
        public int    chapter_px;                   //: 176,
        public String[] tags;                       //: ["悬疑","都市","校园"]
        public String restriction_time;             //："2018-12-31"
        public int    free_num;                     //: 43
        public int    teenager;                     //1：禁止青少年观看   0:允许青少年观看

        public boolean isTeensVisible() {
            return teenager == 0;
        }
    }

}
